Loans API icon

Loans API

(0 reviews)

LOS Create PD Loan

Description: This API is used for PD Loan creation.

The experience API (loans-api) will check the ‘x-bank-id’. If ‘x-bank-id’ is ‘CBOJ’ in the region, the requests are accepted and sent to cboj-loans-prc-api which sends OFS requests to cboj-temenos-sys-api. If ‘x-bank-id’ is ‘NBI’ in the NBI region, the requests are accepted and sent to nbi-loans-prc-api which sends HTTP requests to nbi-temenos-sys-api for PDloan creation.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization

Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id

Content-type: application/json

Mulesoft Response:

Success Response: (200)

{
 "status":
     {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
     },
     "response":
           {
             "pdLoan": {
                "transactionRef": "4511481",
            }
     }
}

Sample Error Response:

400 :

{
    "status":
   {
        "success": false,
        "code": "400",
        "reasonCode": "BadRequest",
        "arabicMessage": "لم يتم العثور على سجلات تطابق محددات البحث",
        "englishMessage": "No records were found that matched the selection criteria",
        "backendError": "No records were found that matched the selection criteria",
        "backendCode": "T24003790"
    }
}

Reviews